
import store from "@/store";

let leftNavData = null;

if(store.state.base.auditState===0){
    leftNavData = [
        {
            name: "入住审核",
            icon: "el-icon-circle-plus-outline",
            href:"/base/baseRegister"
        },
        {
            name: "基地管理",
            icon: "el-icon-office-building",
            texts: [
                {
                    text:"基地概况",
                    href: "/base/baseOverview"
                },
                {
                    text: "接待详情",
                    href: "/base/receptionDetails"
                },
                {
                    text: "餐饮设置",
                    href: "/base/cateringFacilitie"
                },
                {
                    text: "师资详情",
                    href: "/base/teachersDetails"
                },
                {
                    text: "研学课程",
                    href: "/base/studiesCourse"
                },

            ]
        },
        {
            name: "接待计划",
            icon: "el-icon-pie-chart",
            href: "/base/ReceptionProgram"

        },
        // {
        //     name: "评价管理",
        //     icon: "el-icon-chat-line-square",
        //
        // },
        {
            name: "账户设置",
            icon: "el-icon-receiving",
            texts: [
                {
                    text: "账户资料",
                    href: "/base/accountInfo"
                },
                {
                    text: "修改密码",
                    href: "/base/modifyPassword"
                }
            ]
        }
    ]
}else{
    leftNavData = [
        {
            name: "入住审核",
            icon: "el-icon-circle-plus-outline",
            href:"/base/baseRegister"
        },
        {
            name: "账户设置",
            icon: "el-icon-receiving",
            texts: [
                {
                    text: "账户资料",
                    href: "/base/accountInfo"
                },
                {
                    text: "修改密码",
                    href: "/base/modifyPassword"
                }
            ]
        }
    ]

}


export default leftNavData;
